import yaml


def analyze_file(file_name, case_name):
    with open('./data/%s.yaml' % file_name, 'r', encoding='utf-8') as f:
        # data = yaml.load(f, Loader=yaml.FullLoader)
        # return data[case_name].values
        return yaml.load(f, Loader=yaml.FullLoader)[case_name].values()
